Methods and systems for digital dither

ABSTRACT

Methods and systems for applying digital dither includes methods and systems for applying digital dither in data converters, such as, for example, delta-sigma data converters. In an embodiment, an analog signal from a first path of a delta-sigma modulator is quantized to an m-bit digital signal and an n-bit dithered digital feedback signal is generated from at least a portion of the m-bit digital signal. The n-bit dithered digital feedback signal is converted to an analog feedback signal and fed back to a second path of the delta-sigma modulator. In an embodiment, the n-bit dithered digital feedback signal is generated by selecting one of a plurality of sets of n-bits from the m-bit digital signal depending upon a state of a dither control signal. The dither control signal can alternate between a plurality of states or pseudo-randomly switch between a plurality of states. In an embodiment, the m-bit digital signal is an m-bit thermometer code signal and the n-bit dithered digital feedback signal is generated by selecting between bits  0  through m−2 and bits  1  through m−1 of the m-bit digital signal. In an alternative embodiment, the m-bit digital signal is an m-bit thermometer code signal and the n-bit dithered digital feedback signal is generated by selecting between even and odd bits of the m-bit digital signal.

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] This application claims priority to U.S. Provisional Application No. 60/232,173, filed Sep. 11, 2000, entitled “Digital Dither Technique to Increase Dynamic Range in an Analog Multi-Bit Delta Sigma Modulator,” and U.S. Provisional Application No. 60/232,176, filed Sep. 11, 2000, entitled “Digital Dither Technique to Increase Dynamic Range in an Analog Multi-Bit Delta Sigma Modulator in a Gateway with Voice,” which are incorporated herein by reference in their entireties.

STATEMENT REGARDING FEDERALLY-SPONSORED RESEARCH AND DEVELOPMENT

[0002] Not applicable.

BACKGROUND OF THE INVENTION

[0003] 1. Field of the Invention

[0004] The invention relates to data converters and, more particularly, to multi-bit analog-to-digital data converters such as delta-sigma modulators and, more particularly, to digital dither in data converters.

[0005] 2. Background Art

[0006] A common limitation in the performance of audio analog delta-sigma modulators is quantization noise, including idle-channel noise. With small input amplitudes, performance is typically degraded by limit cycles in the modulator loop. The quantization noise spectra typically includes high-powered spectral tones at frequencies close to fs/2, where fs is a sampling rate of the modulator. There are two common causes for these tones to fold into the signal passband and degrade the performance of the analog delta-sigma modulator. One cause is due to interfering digital signals which couple onto the reference voltage for the delta-sigma modulator. When these interfering digital signals couple onto the reference voltage they intermodulate with the high-powered spectral tones and cause them to fold into the passband. For this reason analog delta-sigma modulators are sensitive to coupled digital noise. The second common cause of for the idle tones to fold into the signal passband is due to nonlinearities in the analog signal processing path in the analog delta-sigma modulator. In the presence of these nonlinearities the idle tones typically intermodulate with each other, causing them to fold into the signal passband. This results in audible tones that are often detectable by the human ear. Accordingly, it is desireable to reduce the amplitude of the idle-tones near fs/2. Quantization noise is described in “Delta-SigmaData Converters, Theory, Design, and Simulation,” edited by Norsworthy et al., IEEE Press, 1997, ISBN 0-7803-1045-4, incorporated herein by reference in its entirety.

[0007] A conventional solution to quantization noise in an analog delta-sigma modulator is to apply analog dither, or noise, in the modulator loop. For example, U.S. Pat. No. 5,055,846, entitled “Method of Tone Avoidance in Delta-Sigma Converters,” incorporated herein by reference in its entirety, appears to teach applying analog dither to an input of a quantizer and reducing the input signal to a very low level to reduce the signal-to-noise ratio of the signal. The resulting noisy input signal is applied to the input of a comparator in a single-bit analog delta-sigma modulator loop. The increased noise level in this signal acts as analog dither and helps to break up the spectral tones in the delta-sigma modulator.

[0008] The technique utilized in U.S. Pat. No. 5,055,846 is not suitable for use in a multi-bit analog delta-sigma modulator loop because performance is limited by errors in the thresholds of the quantizer. In a single-bit delta-sigma modulator a single comparator is used with the threshold set equal to zero. In this case comparator offset does not effect performance. In a multi-bit delta-sigma modulator the quantizer thresholds should be reduced in proportion to the reduction of signal amplitude. The quantizer thresholds should be placed very close together if the signal preceding the quantizer is attenuated. Inaccuracies in the quantizer thresholds cause an increase in the quantization error. This degrades the modulator performance.

[0009] What is needed are methods and systems for applying dither in analog-to-digital data converters, such as multi-bit delta-sigma modulators.

BRIEF SUMMARY OF THE INVENTION

[0010] The present invention is directed to methods and systems for applying digital dither. In an embodiment, digital dither is applied in data converters such as, without limitation, delta-sigma modulators. For example, in a delta-sigma modulator that receives an analog input signal and includes a first path including a quantizer that outputs an m-level code, an n-level dithered digital feedback signal is generated from the m-level code. In an embodiment, m is greater than one. In an alternative embodiment, m is equal to 1. In an embodiment, n is less than m. In an alternative embodiment, n is greater than m. The n-level dithered digital feedback signal is converted to an analog feedback signal and fed back to a second path of the delta-sigma modulator.

[0011] In an embodiment, the dithered digital feedback signal is generated from one or more portions of the m-level code. For example, in an embodiment, the m-level code is an m-bit signal, such as a thermometer coded signal, and the dithered digital feedback signal is generated by selecting between sub-sets of bits from the m-bit code. In an example embodiment, n equals m−1, a first sub-set of n-bits includes bits zero through m−2 of the m-bit signal, and a second sub-set of bits includes bits 1 through m−1 of the m-bit signal. In another example embodiment, m is an even integer, n equals m divided by 2, a first sub-set of n-bits includes even bits of the m-bit signal, and a second sub-set of bits includes odd bits of the m-bit signal.

[0012] In an embodiment, the dithered digital feedback signal is generated in inverse proportion to an amplitude of the input analog signal and/or the m-level code.

[0013] Further features and advantages of the invention, as well as the structure and operation of various embodiments of the invention, are described in detail below with reference to the accompanying drawings. The drawing in which an element first appears is typically indicated by the leftmost digit(s) in the corresponding reference number.

[0014] It is noted that the invention is not limited to the specific embodiments described herein. Such embodiments are presented herein for illustrative purposes only. Additional embodiments will be apparent to persons skilled in the relevant art(s) based on the teachings contained herein.

BRIEF DESCRIPTION OF THE FIGURES

[0015] The present invention will be described with reference to the accompanying drawings wherein:

[0016]FIG. 1 is a high level block diagram of a dither digital-to-analog converter (“DAC”), in accordance with the present invention;

[0017]FIG. 2 is a block diagram of the dither DAC of FIG. 1 implemented in an m-level delta-sigma modulator, in accordance with an aspect of the present invention;

[0018]FIG. 3 is a block diagram of an example embodiment of the m-level delta-sigma modulator illustrated in FIG. 2, wherein the digital dither module receives an m-level code and outputs an n-level dithered digital feedback signal;

[0019]FIG. 4 is a block diagram of another example embodiment of the m-level delta-sigma modulator illustrated in FIG. 2, wherein n equals m−1;

[0020]FIG. 5 illustrates an example input/output table for the example embodiment of the m-level delta-sigma modulator illustrated in FIG. 4

[0021]FIG. 6 is a block diagram of an example embodiment of the m-level delta-sigma modulator illustrated in FIG. 2, wherein n equals m/2;

[0022]FIG. 7 illustrates an example input/output table for the example embodiment of the m-level delta-sigma modulator illustrated in FIG. 6;

[0023]FIG. 8 is a block diagram of an example embodiment of the digital dither module illustrated in FIG. 6;

[0024]FIG. 9 illustrates example a truth table for the example of FIG. 8;

[0025]FIG. 10 illustrates an example circuit diagram for the digital dither module illustrated in FIG. 8;

[0026]FIG. 11A is a process flowchart illustrating a method for dithering a digital signal in accordance with the present invention;

[0027]FIG. 11B illustrates an example implementation of a portion of the process flowchart illustrated in FIG. 11A;

[0028]FIG. 11C illustrates an example implementation of the portion of the process flowchart illustrated in FIG. 11B;

[0029]FIG. 11D illustrates an example implementation of the portion of the process flowchart illustrated in FIG. 11C;

[0030]FIG. 11E illustrates another example implementation of the portion of the process flowchart illustrated in FIG. 11C;

[0031]FIG. 12 is a process flowchart illustrating a method for implementing the invention in a delta-sigma modulator, in accordance with the present invention;

[0032]FIG. 13 is a process flowchart illustrating additional steps that can be performed as part of the flowcharts illustrated in FIG. 11 and FIG. 12;

[0033]FIG. 14A illustrates an optional step that can be performed in the process flowchart illustrated in FIG. 13;

[0034]FIG. 14B illustrates another optional step that can be performed in the process flowchart illustrated in FIG. 13; and

[0035]FIG. 15 illustrates an example dynamic element mis-match circuit that processes a digital dither signal, in accordance with an aspect of the present invention.

DETAILED DESCRIPTION OF THE INVENTION Table of Contents

[0036] I. Introduction

[0037] II. High Level Description

[0038] III. Example Embodiments

[0039] IV. Conclusions

[0040] I. Introduction

[0041] The invention is directed to data converters and, more particularly, to analog-to-digital delta-sigma modulators and, more particularly, to digital dither in data converters.

[0042] In an embodiment, the present invention is implemented as a dither digital-to-analog converter (“dither DAC”). In an embodiment, a dither DAC is implemented in an analog-to-digital delta-sigma modulator, wherein the dither DAC produces an analog feedback signal in the analog-to-digital delta-sigma modulator, and wherein the digital dither in the dither DAC breaks up the limit cycles in the delta-sigma modulator. These limit cycles typically cause the large amplitude idle tones which commonly occur near one-half the sample rate of the delta-sigma modulator. Accordingly it is desirable to add dither to the analog sigma-delta modulator. The invention is not, however, limited to implementation in analog-to-digital delta-sigma modulators. Based on the description herein, one skilled in the relevant art(s) will understand that a dither DAC in accordance with the invention can be implemented in other systems as well.

[0043] In an embodiment, a dither DAC in accordance with the invention is implemented in an multi-bit delta-sigma modulator. There are a number of performance advantages to multi-bit delta-sigma implementations as compared to single-bit delta-sigma implementations. These advantages include reduced quantization noise, increased dynamic range performance, and/or increased signal bandwidth, depending on design considerations.

[0044] In an embodiment, the present invention adaptively dithers in inverse proportion to an input signal amplitude.

[0045] In an embodiment, the present invention is implemented digitally and thus substantially avoids impacting analog circuit design and analog signal paths.

[0046] II. High Level Description

[0047]FIG. 1 illustrates a high level block diagram of an example dither DAC 100, including a digital dither module 102 and a digital-to-analog converter (“DAC”) 104. The digital dither module 102 receives a digital signal 106, adds dither to the digital signal 106, and outputs a dithered digital signal 108. The DAC 104 receives the dithered digital signal 108, converts it to an analog signal 110.

[0048] In an embodiment, the digital dither module 102 introduces digital dither by adding a pseudo-random digital value to the digital signal 106. Alternatively, or additionally, digital dither is added by directly manipulating bits of the digital signal 106. In an embodiment, digital dither is added in inverse proportion to the magnitude of the digital signal 106.

[0049] In an embodiment, one or more optional processes are performed within an optional process(es) module 112. The optional process(es) module 112 can represent, for example, mismatch shaping, filtering, integration, one or more feedback loops, and/or one or more inputs to and/or outputs from one or more feedback loops. Alternatively, or additionally, one or more optional processes are performed within DAC 104. For ease of illustration, the optional process(es) module 112 is not shown in subsequent drawing figures. It is to be understood, however, that one or more optional processes can be implemented within the dither DAC 100 illustrated in subsequent drawing figures.

[0050] A. Example Environment: Delta-sigma Modulators

[0051]FIG. 2 is a high-level block diagram of a delta-sigma modulator 200, including a loop filter module 202, a differencer 204, and a quantizer 206. The delta-sigma modulator 200 receives an analog signal 208 and outputs a digital signal 210, in a manner well known in the relevant art(s).

[0052] In an embodiment, one or more optional processes are performed in an optional process(es) module 212. The optional process(es) module 212 can represent, for example, filtering, integration, one or more feedback loops, and/or one or more inputs to and/or outputs from one or more feedback loops. Operation of such processes are well known in the relevant art(s). For ease of illustration, the optional process module 212 is not shown in subsequent drawing figures. It is to be understood, however, that one or more optional processes can be implemented within the delta-sigma modulator 200 illustrated in subsequent drawing figures.

[0053] The delta-sigma modulator 200 further includes the dither DAC 100 in a feedback loop. In this embodiment, the digital signal 106 is a digital feedback signal, the dithered digital signal 108 is a dithered digital feedback signal 108, and the analog signal 110 is an analog feedback signal 110. The analog feedback signal 110 is subtracted from the analog input signal 208 by the differencer 204.

[0054] The dither DAC 100 uses digital dither to break up the limit cycles in the delta-sigma modulator. The digital dither in dither DAC 100 breaks up the limit cycles in delta-sigma modulator 200. These limit cycles typically cause the large amplitude idle tones which commonly occur near one-half the sample rate of delta-sigma modulator 200.

[0055] In an embodiment, the digital feedback signal 106 is substantially identical to the digital signal 210. In an alternative embodiment, the digital feedback signal 106 includes a portion of the digital signal 210. In another alternative embodiment, the digital feedback signal 106 is substantially different than the digital signal 210.

[0056] In an embodiment, one or more additional signal processing functions are performed on the digital feedback signal 106 before and/or after insertion of digital dither by the digital dither module 102. For example, where the digital signal 210 is a multi-level code, the digital signal 210 can be converted to a thermometer code digital signal 106. In an embodiment, one or more functions described herein as performed by the digital dither module 102, are performed within the quantizer module 206.

[0057] 1. Multi-bit Environments

[0058] In an embodiment, the present invention operates in a multi-level code environment, in which multiple amplitude levels are digitally coded, or represented. The multiple levels of code can be represented in binary form or in a variety of other forms, including, without limitation, density code and thermometer code. In an embodiment, multiple levels of code are represented by multiple bits. In such an embodiment, the quantizer module 206 is and/or the DAC 104 are multi-bit devices that are designed to handle multiple levels of code. In an embodiment, multi-level bits are thermometer coded bits. In an alterative embodiment, multi-level bits are density coded bits.

[0059] In an embodiment, a coder is used to convert digital words of a digital signal from one digital format to another digital format. For example, as mentioned above, a coder may convert a binary coded signal to a thermometer coded signal. Such an exemplary coder is referred to as a binary-to-thermometer coder. An n−1 bit thermometer code is required to represent n possible binary values, as will be clear from Table 1 below. The first row of Table 1 includes the five possible values of a binary coded word between binary “000” (decimal 0) and binary “100” (decimal 5). Thus, as shown in Table 1 below, four bits are required for the thermometer codes in the second column.

[0060] A thermometer code is a type of density code. A “density code” refers to a word in which the density of the word (not the specific order) indicates the value of the signal (thus, a binary coded word is not a density coded word). More specifically, the “density” of a word specifies how many of the bits in the word are a specific bit or logic value (i.e., logic one). Four bit words will be used to explain this concept. A four bit word can have a density of zero, {fraction (1/4)}th, ½, ¾th or one. More specifically, the four bit word “0000” has a density of {fraction (0/4)}th (i.e., zero). The four bit words “0001”, “0010”, “0100” and “1000”, each have a density of ¼th. The fourbit words “0011”, “0110”, “1100”, “1001”, “1010” and “0101”, each have a density of {fraction (2/4)}th (i.e., {fraction (1/2)}). The four bit words “1110”, “1101”, “1011” and “0111”, each have a density of ¾th. The four bit word “1111” has a density of {fraction (4/4)}th (i.e, one).

[0061] A specific type of density code is a “thermometer code”. A thermometer coded is a density code having a specific order (but it is still the density, not the order that specifies its value). The term “thermometer” code is used because when visualizing the code it increases in value much like a thermometer increases in value. The second column of Table 1 illustrates the thermometer code words that correspond to the binary code words in the first column. That is, the second column represents the output of a binary-to-thermometer coder.

[0062] The third column of Table 1 specifies the density of the thermometer codes in the second column. The fourth (i.e., last) column of Table 1 includes density codes that can be generated from the thermometer codes in the third column, e.g., by shuffling the thermometer codes using a mismatch shaping network. TABLE 1 Binary Input (e.g., to a Thermometer Density Possible Density Codes Binary- Output (e.g., from a of that Can be Produced by to-Ther- Binary-to- Thermo- Shuffling the Thermometer mometer Thermometer meter Code (i.e., Shuffled Coder) Coder) Output Density Codes) 000 0000 0 0000 001 0001 1/4th 0001, 0010, 0100, 1000 010 0011 2/4th 0011, 0110, 1100, 1010, 0101, 1001 011 0111 3/4th 0111, 1011, 1101, 1110 100 1111 4/4th 1111

[0063] The above discussion has been provided to help the reader under stand the terms “coder”, “thermometer code”, “density code” and “shuffled code.” A binary-to-thermometer coder is only one example of a coder that can be used with the present invention. However, the present invention is not meant to be limited to this type of coder.

[0064] The present invention is described herein with examples that utilize, among other terms, the terms m-level codes, m-bits, n-level codes, n-bits, and thermometer codes. The invention is not, however, limited to the these example implementations. Based on the description herein, one skilled in the relevant art(s) will understand that the invention can be implemented with single level codes and/or other multi-level codes. Thus, unless otherwise specified herein, the terms level, bit, and code are used interchangeably.

[0065]FIG. 3 illustrates a block diagram of the delta-sigma modulator 200, wherein the quantizer module 206 is an m-bit quantizer module 206 and the DAC 104 is an n-bit DAC 104, and n and m are integers (1, 2, 3, . . . ). Generally, n is not equal to m. In an embodiment, m is greater than n. Alternatively, m is less than n.

[0066] In the embodiment of FIG. 3, the digital signal 210 is referred to as an m-bit digital signal 210 and the dithered digital feedback signal 108 is referred to as an n-bit dithered digital feedback signal 108. When m is greater than 1, the m-bit digital signal 210 is a multi-level signal. When n is greater than 1, the n-bit dithered digital feedback signal 108 is a multi-level signal.

[0067] In an embodiment, the quantizer module 206 is implemented as a flash analog-to-digital (“ADC”) converter that outputs the m-bit digital signal 210 as a thermometer code.

[0068] In an embodiment, the digital dither module 102 outputs the dithered digital feedback signal 108 as a thermometer code. In an embodiment, the digital dither module 102 outputs the dithered digital feedback signal 108 as a thermometer code and the DAC 104 is implemented as a unit-element DAC, which is convenient to use with thermometer codes.

[0069] In an embodiment, m is greater than n, the quantizer module 206 outputs the m-bit digital feedback signal 210 as a thermometer code, and the n-bit dithered digital feedback signal 108 is a sub-set of bits from the m-bit digital signal 210. In this embodiment, the quantizer module 206 can include extra thresholds so that the m-bit digital signal 210 has a wider range of digital signals than required in the dither DAC 100 feedback loop. In this embodiment, the digital dither module 102 can be designed to select between two or more sub-sets of bits of the m-bit digital signal 210. Example implementations for selecting among sub-sets of bits from the m-bit digital signal 210 are provided in sections below.

[0070] Alternatively, m is less than n. For example, in an embodiment, m equals 1. Example implementations for m less than n are provided below.

III. EXAMPLE EMBODIMENTS

[0071] The delta-sigma modulator 200 can be implemented for m greater than n and/or for m less than n. Where m is greater than n, the dithered digital feedback signal 108 is typically generated by selecting between sub-sets of the m-bit digital feedback signal 106. Alternatively, where n is greater than m, the dithered digital feedback signal 108 may be generated, for example, by directly adding a pseudo-random digital dither signal to the m-bit digital feedback signal 106. FIGS. 4 and 6 illustrate example implementations for m greater than n, wherein one of two sub-sets of m-bits of the digital feedback signal 106 are selected as the dithered digital feedback signal 108. Other embodiments select from more than two sub-sets of the m-bits.

[0072]FIG. 4 illustrates an example embodiment of the delta-sigma modulator 200, wherein n=m−1. In this example, the digital feedback signal 106 is an m-bit thermometer-code, including bits 0 through m−1, the dithered digital feedback signal 108 is an n-bit thermometer-code, and the digital dither module 102 receives or internally generates a dither control signal 402 that controls selection of sub-sets of the m-bit digital feedback signal 204.

[0073] In an embodiment, the digital dither module 102 selects between one of two sub-sets of bits from the m-bit digital feedback signal 106 to output as the dithered digital feedback signal 108. For example, in an embodiment, the digital dither module 102 selects between a sub-set A, including bits 0 through m−2, and a sub-set B, including bits 1 through m−1, wherein bit 0 is the least significant bit. In this embodiment, the dither control signal 402 needs only one bit having two states. In an embodiment, the dither control signal 402 is generated with a pseudo-random number generator. In an alternative embodiment, the dither control signal 402 cycles through, or alternates among the possible range of values (e.g., 0 and 1).

[0074]FIG. 5 illustrates an example input/output table 500 for the example embodiment of FIG. 4. Column 502 lists the n bits of the dithered digital feedback signal 108. Column 504 lists the corresponding bits of the m-bit digital feedback signal 106 that will be output by the digital dither module 102 when the dither control signal 402 is at a first state (e.g., one). Column 506 lists the corresponding bits of the m-bit digital feedback signal 106 that will be output by the digital dither module 102 when the dithered control signal 402 is at a second state (e.g., zero). In other words, column 504 represents a sub-set A, and column 506 represents a sub-set B, one of which is selected based on dither control signal 402. The dither control signal 402 controls whether the n-bit digital dither feedback signal 108 is generated from bits 0 through m−2 or from bits 1 through m−1, of the m-bit digital feedback signal 106.

[0075]FIG. 6 illustrates an example implementation of the delta-sigma modulator 200, wherein n=m/2. In alternative embodiments, n equals m divided by other integers. In the example of FIG. 6, the m-bit digital feedback signal 106 is an m-bit thermometer-code, and the dithered digital feedback signal 108 is an n-bit thermometer-code. The digital dither module 102 selects between subsets of the m-bits of the m-bit digital feedback signal 106 to output as the n-bit dithered digital feedback signal 108. In an embodiment, the dither control signal 402 is generated with a pseudo-random number generator. In an alternative embodiment, the dither control signal 402 cycles through, or alternates among the possible range of values (e.g., 0 and 1).

[0076]FIG. 7 illustrates an example input/output table 700 for the example implementation of FIG. 6. Column 702 lists the n bits of the dithered digital feedback signal 108. Column 704 lists the corresponding bits of the m-bit digital feedback signal 106 that will be output by the digital dither module 102 when the dither control signal 402 is at a first state (e.g., one). Column 706 lists the corresponding bits of the m-bit digital feedback signal 106 that will be output by the digital dither module 102 when the dither control signal 402 is at a second state (e.g., zero). The dither control signal 402 controls whether the digital dither module 102 selects bits 0, 2, 4, . . . , m−2 (i.e., even bits), or bits 1, 3, 5, . . . , m−1 (i.e., odd bits), of the m-bit digital feedback signal 106, to output as the dithered digital feedback signal 108.

[0077]FIG. 8 illustrates a block diagram of an example implementation of the digital dither module 102, in accordance with the example of FIG. 6, wherein m equals four and n equals two. FIG. 9 illustrates a truth table for the example of FIG. 8. FIG. 10 illustrates an example circuit diagram for the example digital dither module 1000, which is an example implementation of the digital dither module 102 illustrated in FIG. 8.

[0078] In FIG. 10, the digital dither module 1000 receives a four bit thermometer code 1002 a-d from the quantizer module 206, illustrated in FIG. 6. The four bit code 1002 a-d corresponds to Therm<0> through Therm<3> of the m-bit digital feedback signal 106, illustrated in FIG. 9. In an embodiment, the quantizer module 206 is implemented with a 2-bit flash ADC including 4 comparators, which outputs the 4-bit thermometer-code 1002 a-d illustrated in FIG. 10. The four bits of the thermometer-code 1002 a-d are provided to OR gates 1010 a-d, respectively, through D-type flip-flops 1012 a through 1012 d.

[0079] The digital dither module 1000 also receives a single-bit digital dither control signal 1004. In an embodiment, the single-bit digital dither control signal 1004 is generated by a pseudo-random number generator. The digital dither control signal 1004 is input to a D-type flip-flop 1006, which outputs dither control signals 1008 a and 1008 b, which are the compliment of one another (i.e, when one is high, the other is low). The dither control signals 1008 a and 1008 b are provided to the OR gates 1010 a-d as illustrated.

[0080] The outputs of the OR gates 1010 a-d are provided to the OR gates 1006 a and 1006 b, which output a 2-bit thermometer code signal 1014, analogous to the dithered digital feedback signal 108.

[0081] In operation, bit 1002 a of the thermometer code input signal is the least significant bit (“LSB”) and bit 1002 d is the most significant bit (“MSB”). Depending on the state of the dither control signal 1004, the digital dither circuit 1000 passes either bits 1002 a and 1002 c, or bits 1002 b and 1002 d, as the 2-bit thermometer code signal 1014, as illustrated in FIG. 9.

[0082] In an embodiment, the 2-bit thermometer code signal 1014 (i.e., the dithered digital feedback signal 108), is further processed before and/or after m-bit DAC 104. For example, in an embodiment, the 2-bit thermometer code signal 1014 is processed in a dynamic element mismatch circuit. Mismatch shaping circuitry shapes the mismatches in the analog elements to substantially reduce errors in the signal band of an over sampling converter.

[0083] Methods and systems for dynamic mismatch shaping are described in the following co-pending and commonly owned U.S. applications, all of which are incorporated herein by reference in their entireties:

[0084] Ser. No. (to be assigned, attorney docket number 1875.0860001), titled “Method and Apparatus for Mismatched Shaping of An Oversampled Converter,” filed on Sep. 11, 2001; and

[0085] Ser. No. (to be assigned, attorney docket number 1875.0870001), titled “Method and Apparatus for Mismatched Shaping of An Oversampled Converter,” filed on Sep. 11, 2001.

[0086] Mismatch shaping is also taught in one or more of the following U.S. patents, all of which are incorporated herein by reference in their entireties:

[0087] U.S. Pat. No. 5,404,142 (Adams et al.), titled “Data-Directed Scrambler For Multi-Bit Noise Shaping D/A Converters;”

[0088] U.S. Pat. No. 5,406,283 (Leung), titled “Multi-bit Oversampled DAC with Dynamic Element Matching;” and

[0089] U.S. Pat. No. 5,684,482 (Galton), titled “Spectral Shaping of Circuit Errors In Digital-to-Analog Converters.”

[0090]FIG. 15 illustrates an example dynamic element mismatch circuit 1500 that scrambles the 2-bit thermometer code signal 1014 and provides first-order noise shaping of element mismatch errors in the 3-level feedback signal before m-bit ADC 104. Based on the description herein, one skilled in the relevant art(s) will understand that other signal processing techniques can be performed on the 2-bit thermometer code signal 1014 (i.e, the dithered digital feedback signal 108) as well.

[0091]FIG. 11A is a process flowchart 1100 illustrating a method for dithering a digital signal. Operation of the process flowchart 1100 is described with reference to the dither DAC 100, illustrated in FIG. 1. The process begins with step 1102, receiving an m-bit digital signal, such as the digital signal 106 in FIG. 1. Step 1104 includes generating an n-bit dithered digital signal from the m-bit digital signal. In the dither DAC 100, step 1104 is performed by the digital dither module 102. Step 1106 includes converting the n-bit dithered digital signal to an analog signal. In FIG. 1, this is performed by the DAC 104.

[0092]FIG. 11B illustrates an example wherein step 1104 includes a step 1108 of selecting one of a plurality of sub-sets of n-bits of the m-bit digital signal, to output as the n-bit dithered digital signal.

[0093]FIG. 11C illustrates an example wherein step 1108 includes steps 1110 through 1114. Step 1110 includes receiving a dither control signal, such as the dither control signal 402, illustrated in FIG. 4. Step 1112 determines a state of the dither control signal. In this example, the dither control signal has j possible states, illustrated as states 0 through j−1. Similarly, the m-bit digital signal (e.g., digital signal 106), includes sub-sets 0 through j−1. In an embodiment, the sub-sets 0 through j−1 are exclusive of one another. Alternatively, two or more of the sub-sets 0 through j−1 overlap one another.

[0094] Depending upon the state of the dither control signal, processing proceeds to one of steps 1114 ₀ through 1114 _(j−1). For example, when the dither control signal is at state 0, processing proceeds to step 1114 ₀, selecting sub-set 0 of the m-bit digital signal, to output as the n-bit dithered digital signal.

[0095]FIG. 11D illustrates an example wherein the digital signal 106 includes two overlapping sub-sets, bits 0 through m−2 and bits 1 through m−1. FIG. 11E illustrates an example wherein the digital signal 106 includes two non-overlapping sub-sets of even and odd bits.

[0096]FIG. 12 is a process flowchart 1200 illustrating a method for implementing the invention in a delta-sigma modulator. The process flowchart 1200 is described with reference to the delta-sigma modulator 200, as illustrated in one or more of the drawing figures herein. The invention is not, however, limited to the implementation in delta-sigma modulators. Based on the description herein, one skilled in the relevant art(s) will understand that the invention can be implemented in other systems as well.

[0097] The process begins with step 1202, quantizing an analog signal, taken from a first path of a delta-sigma modulator, to an m-bit digital signal. Step 1204 includes generating an n-bit dithered digital feedback signal from at least a portion of the m-bit digital signal. Step 1206 includes converting the n-bit dithered digital feedback signal to an analog feedback signal. Step 1208 includes feeding back the analog feedback signal to a second path of the delta-sigma modulator. Step 1204 is substantially similar to step 1104, as described above.

[0098]FIG. 13 is a process flowchart 1300 illustrating additional steps 1302 and 1304 that can be performed as part of step 1104 and/or step 1204. Step 1302 includes receiving a dither control signal. Step 1304 includes selecting one of a plurality of sets of n-bits from the m-bit digital signal, depending upon a state of the dither control signal. FIG. 14A illustrates an optional step 1402 of alternating the dither control signal between a plurality of states. FIG. 14B illustrates an optional step 1404 of pseudo-randomly switching the dither control signal between a plurality of states.

[0099] X. Conclusions

[0100] The present invention has been described above with the aid of functional building blocks illustrating the performance of specified functions and relationships thereof. The boundaries of these functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternate boundaries can be defined so long as the specified functions and relationships thereof are appropriately performed. Any such alternate boundaries are thus within the scope and spirit of the claimed invention. One skilled in the art will recognize that these functional building blocks can be implemented by discrete components, application specific integrated circuits, processors executing appropriate software and the like or any combination thereof.

[0101] While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. Thus, the breadth and scope of the present invention should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents. 

What is claimed is:
 1. A method of applying digital dither, comprising the steps of: (1) quantizing an analog signal, from a first path of a delta-sigma modulator, to an m-bit digital signal; (2) generating an n-bit dithered digital feedback signal from at least a portion of the m-bit digital signal; (3) converting the n-bit dithered digital feedback signal to an analog feedback signal; and (4) feeding back the analog feedback signal to a second path of the delta-sigma modulator.
 2. The method according to claim 1, wherein m is greater than n, and step (2) comprises the steps of: (a) receiving a dither control signal; and (b) selecting one of a plurality of sets of n-bits from the m-bit digital signal depending upon a state of the dither control signal.
 3. The method according to claim 2, wherein the dither control signal alternates between a plurality of states.
 4. The method according to claim 2, wherein the dither control signal pseudo-randomly switches between a plurality of states.
 5. The method according to claim 2, wherein said m-bit digital signal is an m-bit thermometer code signal and step (2)(b) comprises the step of selecting between bits 0 through m−2 and bits 1 through m−1 of the m-bit digital signal to output as the dithered digital feedback signal.
 6. The method according to claim 2, wherein said m-bit digital signal is an m-bit thermometer code signal and step (2)(b) comprises the step of selecting between even and odd bits of the m-bit digital signal to output as the dithered digital feedback signal.
 7. A delta-sigma modulator apparatus, comprising: an analog signal path; a differencer coupled to a first node of said analog signal path; a quantizer coupled to a second node of said analog signal path; and a feedback loop that receives an m-bit digital feedback signal from said quantizer; said feedback loop including; a digital dither module that generates an n-bit dithered digital feedback signal from said m-bit digital feedback signal, and an n-bit digital-to-analog converter having an output coupled to said differencer.
 8. The apparatus according to claim 7, further comprising a dither control signal generator that generates a dither control signal, wherein said digital dither module comprises logic circuitry that selects one of a plurality of sets of n-bits from the m-bit digital signal as the dithered digital feedback signal, depending upon a state of the dither control signal.
 9. The apparatus according to claim 8, wherein said dither control signal generator alternates the dither control signal between a plurality of states.
 10. The apparatus according to claim 8, wherein the said dither control signal generator pseudo-randomly switches the dither control signal between a plurality of states.
 11. The apparatus according to claim 8, wherein said m-bit digital signal is an m-bit thermometer code signal, and said digital dither module selects between bits 0 through m−2 and bits 1 through m−1 of the m-bit digital signal to output as the dithered digital feedback signal.
 12. The method according to claim 8, wherein said m-bit digital signal is an m-bit thermometer code signal, and said digital dither module selects between even and odd bits of the m-bit digital signal to output as the dithered digital feedback signal.
 13. A delta-sigma modulator apparatus, comprising: means for quantizing an analog signal, from a first path of a delta-sigma modulator, to an m-bit digital signal; means for generating an n-bit dithered digital feedback signal from at least a portion of the m-bit digital signal; means for converting the n-bit dithered digital feedback signal to an analog feedback signal; and means for feeding back the analog feedback signal to a second path of the delta-sigma modulator.
 14. The apparatus according to claim 13, further comprising: means for generating a dither control signal, said means for generating an n-bit dithered digital feedback comprising: means for receiving a dither control signal; and means for selecting one of a plurality of sets of n-bits from the m-bit digital signal depending upon a state of the dither control signal.
 15. The method according to claim 14, wherein said means for generating a dither control signal comprise means for alternating the dither control signal between a plurality of states.
 16. The method according to claim 14, wherein said means for generating a dither control signal comprise means for pseudo-randomly switching the dither control signal between a plurality of states.
 17. The method according to claim 13, wherein said m-bit digital signal is an m-bit thermometer code signal and said means for generating an n-bit dithered digital feedback signal comprises means for selecting between bits 0 through m−2 and bits 1 through m−1 of the m-bit digital signal to output as the dithered digital feedback signal.
 18. The method according to claim 13, wherein said m-bit digital signal is an m-bit thermometer code signal and said means for generating an n-bit dithered digital feedback signal comprises means for selecting between even and odd bits of the m-bit digital signal to output as the dithered digital feedback signal. 